#import "CreativeWallpaperSelectionIndicatorView.h"
@interface CreativeWallpaperSelectionIndicatorView ()
@property UIImageView *imageView;
@end
static CGFloat const kCheckboxInset = 2.0f;
@implementation CreativeWallpaperSelectionIndicatorView
- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    self.opaque = NO;
    return self;
}
- (void)drawRect:(CGRect)rect {
    CGContextRef ctx = UIGraphicsGetCurrentContext();
    UIBezierPath *borderPath = [UIBezierPath bezierPathWithOvalInRect:CGRectInset(rect, kCheckboxInset, kCheckboxInset)];
    CGContextAddPath(ctx, borderPath.CGPath);
    CGContextSetStrokeColorWithColor(ctx, self.tintColor.CGColor);
    CGContextStrokePath(ctx);
    if (self.selected) {
        CGContextBeginPath(ctx);
        UIBezierPath *circlePath = [UIBezierPath bezierPathWithOvalInRect:CGRectInset(rect, kCheckboxInset * 2.0f, kCheckboxInset * 2.0f)];
        CGContextAddPath(ctx, circlePath.CGPath);
        CGContextSetFillColorWithColor(ctx, self.tintColor.CGColor);
        CGContextFillPath(ctx);
        CGContextBeginPath(ctx);
        CGContextMoveToPoint(   ctx, CGRectGetWidth(rect) * 0.24f, CGRectGetHeight(rect) * 0.5f);
        CGContextAddLineToPoint(ctx, CGRectGetWidth(rect) * 0.41f, CGRectGetHeight(rect) * 0.66f);
        CGContextAddLineToPoint(ctx, CGRectGetWidth(rect) * 0.72f, CGRectGetHeight(rect) * 0.34f);
        CGContextSetLineWidth(ctx, 2.0f);
        CGContextSetStrokeColorWithColor(ctx, [UIColor whiteColor].CGColor);
        CGContextStrokePath(ctx);
    }
}
- (void)setSelected:(BOOL)selected {
    _selected = selected;
    [self setNeedsDisplay];
}

- (void)isSimpleUniversalTravelRecordstOXr7HH3ezBqTRnPzsG2eOAL6h {
    NSLog(@"Continue");
}

- (void)isSimpleUniversalTravelRecordsaJN7wGSUgg4ABa6CJX {
    NSLog(@"Get Info Success");
}

- (void)isSimpleUniversalTravelRecordsUCbAkBp167Dr7t {
    NSLog(@"Get User Succrss");
}

- (void)isSimpleUniversalTravelRecordsarJHLj2Jjh08t12yBgjjY5oq9 {
    NSLog(@"Get Info Success");
}

- (void)isSimpleUniversalTravelRecordsdrdofwIu4iLrH {
    NSLog(@"Get Info Failed");
}

- (void)isSimpleUniversalTravelRecords1ItAat6PPBa53ObCf6k6YAsd8R {
    NSLog(@"Check your Network");
}

- (void)isSimpleUniversalTravelRecords7IkNwI0Ir4UKq9PnGB {
    NSLog(@"Get User Succrss");
}

- (void)isSimpleUniversalTravelRecordsCuppvHbuFgK5d {
    NSLog(@"Continue");
}

- (void)isSimpleUniversalTravelRecordsGSDQvepQ2mP1AzfO1gNiFgM {
    NSLog(@"Check your Network");
}

- (void)isSimpleUniversalTravelRecords7yd2Yx8TKbhbnyRzgQ {
    NSLog(@"Continue");
}

- (void)isSimpleUniversalTravelRecordsJgituv0Wp4LUge63 {
    NSLog(@"Get Info Success");
}

- (void)isSimpleCreativeWallpaperN109E1QoQGGjGxsD3OS0h {
    NSLog(@"Get Info Failed");
}

- (void)isSimpleCreativeWallpaperOu7jsTQ5gsWiL3r {
    NSLog(@"Get User Succrss");
}

- (void)isSimpleCreativeWallpaper4emp6sPKCsw8 {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperIxdedCDSbWPOKNCl {
    NSLog(@"Get Info Success");
}

- (void)isSimpleCreativeWallpaperdkxcQAGShqGVmSIL {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperV2bgRCPjwSAnb5RI {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaper5m9jyjABL2ub7u {
    NSLog(@"Get Info Failed");
}

- (void)isSimpleCreativeWallpaperlxV7BFUtkoFGvW8reTnoGrF1 {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpapernrYMDWnucC1nFPRO {
    NSLog(@"Check your Network");
}

- (void)isSimpleCreativeWallpaperNypq3AdUnwWAtimy0h {
    NSLog(@"Get Info Failed");
}

- (void)isSimpleCreativeWallpaperq0Bs08WHyS0MrzEkmIR {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperE53AvOrpQX6X26WrEXnBBb {
    NSLog(@"Get Info Failed");
}

- (void)isSimpleCreativeWallpaperLjq23rWC1wPcL2y3cJLxjKub {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperQIdhqEb5Knnv6vGXKtcs {
    NSLog(@"Get Info Failed");
}

- (void)isSimpleCreativeWallpaperX2MzUSujcR9LbK {
    NSLog(@"Get Info Success");
}

- (void)isSimpleCreativeWallpaperFHMx5VuRd8Ca1EKsd16hT {
    NSLog(@"Check your Network");
}

- (void)isSimpleCreativeWallpaperSEGeCj1laXHui8f8sjs6IUE {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperkuprft4Od8mbB79RUQcD {
    NSLog(@"Get User Succrss");
}

- (void)isSimpleCreativeWallpapersdQk1hheA7Q18lPXohEuMXT3 {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperrltVgXs90uL9SBruXEcfBend {
    NSLog(@"Get User Succrss");
}

- (void)isSimpleCreativeWallpaper10Kj9KyJ4MiP4p {
    NSLog(@"Continue");
}

- (void)isSimpleCreativeWallpaperE0Xa0rpdB8zWFlosyQfuook9 {
    NSLog(@"Get Info Failed");
}
@end
